import React from 'react';
import { Button, Result } from "antd";

const Error404=()=> {
    return (
      <div className="ui-container-padding">
        <div className="ui-container">
          <div className="ui-bd">
            <div className="ui-bd-ct">
              <Result
                className="error404"
                status="404"
                title="404"
                subTitle="Sorry, the page you visited does not exist."
                extra={
                  <a href={'/'}>
                    <Button type="primary">Back Home</Button>
                  </a>}
              />
            </div>
          </div>
        </div>
      </div>
    );
}

export default Error404;
